package sk.stuba.fiit.ltasys.web.mvc.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import sk.stuba.fiit.ltasys.web.mvc.model.service.TestService;


/**
 * LoginLogoutController controller.
 * 
 * @author Marek Hruska
 */
@Controller
public class LoginLogoutController {
	
	
	@Autowired 
	private TestService testService;
	
    @RequestMapping(value="/login", method=RequestMethod.GET)
    public String getLogin() {
    	
//    	testService.XtestAllCertRefEntity();
//    	testService.XtestAllUserEntity();
//    	testService.XtestAllArchivePackageEntity();
    	
        return "login";
    }
    
    

	@RequestMapping(value="/logoutSuccess", method=RequestMethod.GET)
    public String getLogout() {
        return "logoutSuccess";
    }
    
	
	
    
}
